package com.mz361.stdapi.service;


import com.mz361.stdapi.domain.StandardTable;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;

import java.util.List;


public interface StandardTableService {

    Page<StandardTable> getPageList(Example<StandardTable> example, Integer pageIndex, Integer pageSize);

    List<StandardTable> getAll();

    Page<StandardTable> getAllByStandClass(String standardClass, Integer pageIndex, Integer pageSize);

    void saveAll(List<StandardTable> orders);

    StandardTable findById(Integer id);

    void deleteById(Integer id);

    void updateById(StandardTable order);

    Page<StandardTable> findList(StandardTable order, Integer pageIndex, Integer pageSize);

    Page<StandardTable> findAll(Integer pageIndex, Integer pageSize);

    Page<StandardTable> findHighlight(StandardTable order, Integer pageIndex, Integer pageSize);

}
